package com.bestcem.xm.ticket.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 工单规则 通知内容 处理记录模板 自定义字段 字段名常量枚举
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/20 10:57
 */
@Getter
@ToString
public enum TicketTemplateFieldNameEnum {
    /**
     * field1
     */
    FIELD1("field1", 1),
    /**
     * field1
     */
    FIELD2("field2", 2),
    /**
     * field1
     */
    FIELD3("field3", 3),
    /**
     * field1
     */
    FIELD4("field4", 4);

    private final String name;

    private final int index;

    TicketTemplateFieldNameEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }
}
